package com.dhj.jenkins.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping(value = "/hello")
public class HelloController {

    @GetMapping("/jenkins")
    public String jenkins(){
        return "hello Jenkins.";
    }


    @GetMapping("/world")
    public String world(){
        return "hello world.";
    }


    @GetMapping("/world2")
    public String world2(){
        return "hello world2.";
    }


    @GetMapping("/world3")
    public String world3(){
        return "hello world3.";
    }


    @GetMapping("/world4")
    public String world4(){
        return "hello world4.";
    }

}
